<template>
    <div class="recommend">
        <div v-for='item in recommends' class="recommend_item">
            <a :href="item.link">
                <img :src="item.image" alt=""/>
                <div>{{item.title}}</div>
            </a>
        </div>
    </div>
</template>

<script>
export default {
    name:'FeatureView',
    props:{
        recommends:{
            type:Array,
            defaule(){
                return []
            }
        }
    }
}
</script>
<style scoped>
.recommend{
    display: flex;
    width: 100%;
}
.recommend_item{
    flex: 1;
    text-align: center;

}
.recommend_item img{
    width: 80px;
    height: 80px;

}
.recommend_item div{
    font-size: 14px;
}
</style>